#!/bin/sh
cd ../../
ant 
cd ./TestCases/S4
cp ../../result/decaf.jar ./
for i in `ls *.decaf` 
do 
java -jar decaf.jar -l 4 $i > output/${i%.*}.sout
java -jar decaf.jar stack.decaf -l 4 -m Stack > output/stack.sout
done
